package com.wanmait.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2023/11/30
*/
@Data
@TableName(value = "seat")
@Accessors(chain = true)
public class Seat implements Serializable {
    /**
     * 座位id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 影厅id
     */
    @TableField(value = "lobby_id")
    private Integer lobbyId;

    /**
     * 哪一排
     */
    @TableField(value = "srow")
    private Integer srow;

    /**
     * 哪一列
     */
    @TableField(value = "scol")
    private Integer scol;

    /**
     * 座位号
     */
    @TableField(value = "seat_number")
    private String seatNumber;

    /**
     * 添加时间
     */
    @TableField(value = "insert_time")
    private Date insertTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 添加人
     */
    @TableField(value = "insert_admin_id")
    private Integer insertAdminId;

    /**
     * 修改人
     */
    @TableField(value = "update_admin_id")
    private Integer updateAdminId;

    /**
     * 推荐等级（0最低，1其次，2较好，3最佳观影区）
     */
    @TableField(value = "recommend")
    private Integer recommend;

    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_LOBBY_ID = "lobby_id";

    public static final String COL_ROW = "row";

    public static final String COL_COL = "col";

    public static final String COL_SEAT_NUMBER = "seat_number";

    public static final String COL_INSERT_TIME = "insert_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_INSERT_ADMIN_ID = "insert_admin_id";

    public static final String COL_UPDATE_ADMIN_ID = "update_admin_id";

    public static final String COL_RECOMMEND = "recommend";

    public static final String COL_ENABLE = "enable";
}